package com.boruiimage.demo.doMain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class recharacterinfo {
    Integer id;
    String userName;
    String payContext;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    Date data;
    double payNum;
    String rechargeContext;

    public recharacterinfo(Integer id, String userName, String payContext, Date data, double payNum, String rechargeContext) {
        this.id = id;
        this.userName = userName;
        this.payContext = payContext;
        this.data = data;
        this.payNum = payNum;
        this.rechargeContext = rechargeContext;
    }

    public recharacterinfo() {
    }

    public recharacterinfo(String userName, String payContext, Date data, double payNum, String rechargeContext) {
        this.userName = userName;
        this.payContext = payContext;
        this.data = data;
        this.payNum = payNum;
        this.rechargeContext = rechargeContext;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPayContext() {
        return payContext;
    }

    public void setPayContext(String payContext) {
        this.payContext = payContext;
    }

    public Date getData() {
        return data;
    }

    public void setData(Date data) {
        this.data = data;
    }

    public double getPayNum() {
        return payNum;
    }

    public void setPayNum(double payNum) {
        this.payNum = payNum;
    }

    public String getRechargeContext() {
        return rechargeContext;
    }

    public void setRechargeContext(String rechargeContext) {
        this.rechargeContext = rechargeContext;
    }

    @Override
    public String toString() {
        return "recharacterinfo{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", payContext='" + payContext + '\'' +
                ", data=" + data +
                ", payNum=" + payNum +
                ", rechargeContext='" + rechargeContext + '\'' +
                '}';
    }
}
